package server;

import java.io.UnsupportedEncodingException;

import Util.Util;

public class Test {

	public static void main(String[] args) throws UnsupportedEncodingException {
		A a = new B();
		a.encode();
	}

}
class A{
	public void encode() {
		System.out.println("AAAA");
	}
}
class B extends A {

	@Override
	public void encode() {
		System.out.println("BBBB");
	}
	
}
